#include"../Header Files/CMainMenu_PlayState.h"



void CMainMenu_PlayState::Update(float fDT)
{
	m_pPlayer->GetAnimationManager()->Update(fDT);
	m_pPlayer->GetAnimationManager()->Render();
}
void CMainMenu_PlayState::Exit()
{
}
void CMainMenu_PlayState::Enter()
{
}
void CMainMenu_PlayState::Initialize()
{
	m_pCamera = new cCamera_AL();
	m_pObjectManager = CObjectManager::GetInstance();
	m_pPlayer = new CAnimatedObject();
	int result = CDataParser::GetInstance()->LoadAnimation("Pikeman_Idle.xml", m_pPlayer);
	m_pPlayer->GetAnimationManager()->GetAnimation(result)->SetIsLooping(true);
}
bool CMainMenu_PlayState::Input()
{
	return true;
}